package com.ruoyi.houses.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.model.Image;
import com.ruoyi.houses.domain.RentHouses;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RentHousesMapper extends BaseMapper<RentHouses> {
    void addImage(@Param("nextId") long nextId,@Param("imageList") List<Image> imageList);

    void addFacilityId(@Param("id") long id,@Param("facilityId") List<Integer> facilityId);

    void addHousesDisc( RentHouses rentHouses);

}
